package com.itheima.cases.arrays;

import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        // 排序
        int[] arr = {100, 123, 92};

        String str = Arrays.toString(arr);
        System.out.println(str);

        int[] ints = Arrays.copyOf(arr, 5);
        System.out.println(Arrays.toString(ints));

        // 排序
        Arrays.sort(arr);

        System.out.println(Arrays.toString(arr));
    }
}
